home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 19
/
Aminet 19 (1997)(GTI - Schatztruhe)[!][Jun 1997].iso
/
Aminet
/
comm
/
net
/
localdev.readme
< prev
next >
Wrap
Text File
|
1997-05-03
|
2KB
|
53 lines
Short: Allows unlimited local ip addresses
Author: t-jeroem@microsoft.com (Jeroen Massar)
Uploader: t-jeroem@microsoft.com (Jeroen Massar)
Type: comm/net
This sana-2 device allows you to configure amitcp to use an unlimited number
of ip addresses on your local machine. This is great for testing without connecting
to any actual network.
The local.device prefs file (ENV:Sana2/local?.prefs) contains one config line
(aside from the comments). The format of the line (in ReadArgs() style) is:
C=CurrentAddress/A,D=DefaultAddress/A,MTU/N/A,BPS/N/A,HWType/N/A
where:
CurrentAddress Our current "hardware" address 128 bits long.
DefaultAddress Our default "hardware" address 128 bits long.
MTU Maximum Transmission Unit.
BPS Bits Per Second.
HWType Hardware type number (see include:devices/sana2.h).
eg S2WireType_Ethernet = 1 and S2WireType_PPP = 254
a line starting with # is ignored.
eg IP=10.0.0.2 MTU=4096 BPS=512k/s HWType=Ethernet (1)
becomes C="10.0.0.2" D="10.0.0.2" MTU=1500 BPS=524288 HWType=1
put the following line in amitcp:db/interfaces
local0 DEV=DEVS:Networks/local.device UNIT=0
use the following line to config the thing into amitcp:
ifconfig local0 10.0.0.2 netmask 255.0.0.0
Now startup amitcp and yeah you've got a local ip address!
Which can be monitored with Sniffer and other programs.
Things on the `ToDo list' : - Packet tracking.
- other requests.
Have fun with your local network!
============================= Archive contents =============================
Original Packed Ratio Date Time Name
-------- ------- ----- --------- -------- -------------
2278 1133 50.2% 01-Apr-97 21:45:38 localdev.info
6652 4113 38.1% 01-Apr-97 21:46:04 +local.device
734 401 45.3% 01-Apr-97 22:04:46 +local0.prefs
1475 783 46.9% 01-Apr-97 22:04:20 +localdev.readme
-------- ------- ----- --------- --------
11139 6430 42.2% 03-Apr-97 00:04:02 4 files